package com.bw.cinema.api

import com.bw.cinema.entity.MutilTypeEntity
import com.bw.lib_net.BaseRes
import retrofit2.http.GET
import retrofit2.http.Query

interface MutilTypeApi {

    @GET("/videotype/getMutilType")
    suspend fun getMutilType(): BaseRes<List<MutilTypeEntity>>

    @GET("/videotype/getMutilTypeByPid")
    suspend fun getSubMutilType(@Query("pid") id: Int): BaseRes<List<MutilTypeEntity>>
}